<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">
	
    <div class="aside">
    	{template 'left.html','order'}
    </div>
    <div class="main"> 
    
    	 <p id="position"> <strong>当前位置：</strong><a href="">首页</a><a href="{$MODULE[member][url]}">会员中心</a><a href="{$M[url]}">订单</a>查看订单</p>
        <div class="clear"></div>
        
        <div class="head">订单处理</div>
        <table cellpadding="0" cellspacing="1" class="table">
            <tr>
               <th width="10%">交易状态：</th>
               <td>{$statusname} {if $status==0}您还有 <font color="red">{$closedtime[d]}天{$closedtime[h]}小时{$closedtime[m]}分钟{$closedtime[s]}秒</font> 来完成本次交易的付款。{/if}</td>            
            </tr>
            <tr>
                <th>订单操作：</th>
                <td>{if $status==0}		
                <a href="{url("?module=$module&action=pay&orderid=$orderid")}" style="color:red;">立即付款</a> | <a href="{url("?module=$module&action=cancel&orderid=$orderid")}">取消订单</a> | {/if}<a href="{url("?module=$module&action=memo&orderid=$orderid")}">备注</a></td>            
            </tr>
        </table>
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
               <td width="50%" valign="top">
               
               <div class="head">订单信息</div>
        <table cellpadding="0" cellspacing="1" class="table"> 
            <tr>
               <th width="20%">订单ID：</th>
               <td>{$orderid}</td>            
            </tr>
            <tr>
              <th>产品：</th>
              <td><a href="{$goodsurl}">{$goodsname}</a></td>
            </tr>
            <tr>
              <th>单价：</th>
              <td>{$price}元/{$unit}</td>
            </tr>
            <tr>
              <th>数量：</th>
              <td>{$number}{$unit}</td>
            </tr>
            <tr>
              <th>运费：</th>
              <td>{$carriage}元</td>
            </tr>
            <tr>
              <th>付款金额：</th>
              <td><span style="color:red;font-weight:bold">￥{$amount}元</span></td>
            </tr>
            <tr>
              <th>下单时间：</th>
              <td>{date('Y-m-d H:i:s', $time)}</td>
            </tr>
        </table>
               </td>
               <td valign="top">
               
               <div class="head">收货信息</div>
        <table cellpadding="0" cellspacing="1" class="table"> 
            <tr>
               <th width="20%">收货人：</th>
               <td>{$consignee}</td>            
            </tr>
            <tr>
              <th>区域：</th>
              <td>{areaname($areaid)}</td>
            </tr>
            <tr>
              <th>电话：</th>
              <td>{$telephone}</td>
            </tr>
            <tr>
              <th>手机：</th>
              <td>{$mobile}</td>
            </tr>
            <tr>
              <th>地址：</th>
              <td>{$address}</td>
            </tr>
            <tr>
              <th>邮编：</th>
              <td>{$postcode}</td>
            </tr>
            <tr>
              <th>留言：</th>
              <td>{$note}</td>
            </tr>
        </table>
               </td>            
            </tr>
        </table>
    </div>
</div>
<div class="clear"></div>
{template 'footer.html'}
